package com.crm.commons.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author: dhy
 * @Date: 2023/02/14/19:03
 * @Description: Date类型的数据进行处理的工具类
 **/
public class DateUtils {

    public static String formateDateTime(Date date){
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String nowTime = sdf.format(date);
        return nowTime;
    }
}
